Print errors

This commit is contained in:
Federico Cecchetto
2021-11-08 01:36:48 +01:00
parent eee68760e4
commit 640fb032ea
9 changed files with 191 additions and 50 deletions

View File

@ -12,9 +12,9 @@ namespace scripting
script_value get_raw() const;
const char* get_pos() const;
script_value call(entity self, std::vector<script_value> arguments) const;
script_value call(const entity& self, std::vector<script_value> arguments) const;
script_value operator()(entity self, std::vector<script_value> arguments) const
script_value operator()(const entity& self, std::vector<script_value> arguments) const
{
return this->call(self, arguments);
}