You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[critical] freeciv21-server (../common/scriptcore/luascript.cpp:453) - T417: lua error: stack index 2, expected number, received number: not a numeric type that fits exactly an integer (number maybe has significant decimals) (bad argument into 'int(int, int)')
stack traceback:
[C]: in function 'random'
data/default/default.lua:191: in function '_deflua_make_partisans_callback'
To Reproduce
Steps to reproduce the behavior:
Start a game, use a savegame or run an autogame to get up to partisans
Build a partisan
See error
Expected behavior
No server crash on the Lua callback
Screenshots
N/A
Platform and version (please complete the following information):
OS: Linux (but assume its everywhere)
Freeciv21 version: 3.0-beta3
Ruleset/Longturn game (if applicable): classic
Additional context
None
The text was updated successfully, but these errors were encountered:
tolua was implicitly converting floats to ints, but sol2 chokes on this. For
backward compatibility and to fix our own rulesets, disable this check in sol.
Closeslongturn#1161.
tolua was implicitly converting floats to ints, but sol2 chokes on this. For
backward compatibility and to fix our own rulesets, disable this check in sol.
Closes#1161.
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No server crash on the Lua callback
Screenshots
N/A
Platform and version (please complete the following information):
Additional context
None
The text was updated successfully, but these errors were encountered: